package com.zhz.mall.admin.modules.ums.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.*;

import javax.validation.constraints.Email;
import javax.validation.constraints.NotEmpty;

/**
 * 用户登录参数
 *
 * @author zhouhengzhe
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class UmsAdminParam {
    @NotEmpty
    @ApiModelProperty(value = "用户名", required = true)
    private String username;
    @NotEmpty
    @ApiModelProperty(value = "密码", required = true)
    private String password;
    @ApiModelProperty("用户头像")
    private String icon;
    @Email
    @ApiModelProperty("邮箱")
    private String email;
    @ApiModelProperty("用户昵称")
    private String nickName;
    @ApiModelProperty("备注")
    private String note;
}
